package com.xx;

import com.xx.service.StudentService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );

        ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");

        StudentService studentService = (StudentService) ctx.getBean("studentService");
        studentService.getStudentList();
    }
}
